home *** CD-ROM | disk | FTP | other *** search
/ Becoming a Computer Animator / COMPANIMATE.ISO / mac / Animation Stand Demo / The Animation Stand™ DEMO / The Animation Stand™ DEMO.rsrc / STR#_22.txt < prev    next >
Text File  |  1994-03-30  |  2KB  |  101 lines

  1. WHILE condition
  2.    statements
  3. END
  4.  
  5. Executes the statements while the condition is true (nonzero), or until command-period is pressed, or a LEAVE statement is executed.
  6.  
  7. UPDATE left, top, right, bottom
  8.  
  9. Updates the specified area.  After a PF key, the entire window is automatically updated, so this statement is usually used for in-the-loop updating.
  10.  
  11. Displays the cursor.
  12.  
  13. SETPIXEL x, y
  14.  
  15. Sets the specified pixel to the current color.
  16.  
  17. SELECT x, y
  18.  
  19. Adds the point to the select region.
  20.  
  21. Sets the drawing environment to draw on-screen only.
  22.  
  23. SAVE left, top, right, bottom
  24.  
  25. Saves a portion of the off-screen area into the Undo buffer.
  26.  
  27. RGB red, green, blue
  28.  
  29. Sets the current draw color
  30.  
  31. RECT left, top, right, bottom
  32.  
  33. Draws a filled rectangle in the current mode and color.
  34.  
  35. PENROUND width
  36.  
  37. Sets the pen to oval in shape.
  38.  
  39. PEN height, width
  40.  
  41. Sets the pen to rectangular.
  42.  
  43. OVAL left, top, right, bottom
  44.  
  45. Draws a filled oval in the current mode and color.
  46.  
  47. Sets the drawing environment to draw off-screen only.
  48.  
  49. MODE n
  50.  
  51. Sets the current draw mode.
  52.  
  53. LOADOLDCOLOR x, y
  54.  
  55. Loads the color of the Undo buffer's pixel (x,y) as the current draw color.
  56.  
  57. LOADCOLOR x, y
  58.  
  59. Loads the color of offscreen pixel (x,y) as the current draw color.
  60.  
  61. LINE from_x, from_y, to_x, to_y
  62.  
  63. Draws a line in the current pen, mode, and color.
  64.  
  65. LIGHTING angle
  66.  
  67. Specifies the current angle to the light source from the current pixel, as if the pixel represented a part of a surface.  An angle of 0 represents normal light, and an angle of ╧Ç/2 represents parellel light.
  68.  
  69. Leaves a loop by jumping to the first statement outside the loop.
  70.  
  71. IF condition
  72.    statements
  73. [ELSE
  74.    statements]
  75. END
  76.  
  77. Conditional execution.  No parenthesis are required.
  78.  
  79. Hides the cursor.
  80.  
  81. FRAMERECT left, top, right, bottom
  82.  
  83. Frames a rectangle in the current pen, mode, and color.
  84.  
  85. FRAMEOVAL left, top, right, bottom
  86.  
  87. Frames an oval in the current pen, mode, and color.
  88.  
  89. Used at the end of a block of statements.  See IF, WHILE, and FOR.
  90.  
  91. Used within an IF statement.
  92.  
  93. Stops execution of the PF-key program.
  94.  
  95. Sets the select area to an empty region.
  96.  
  97. Sets the drawing environment to draw on-screen and off-screen.
  98.  
  99. Sounds the system beep.
  100.  
  101.